home *** CD-ROM | disk | FTP | other *** search
/ Amiga Games: 500 MB Amiga Software / 500 MB Amiga Software - Euber 130 - Amiga Games Disc & Mag.iso / userbox / publicdomain / tinymeter / source / tinymeter_main / makefile < prev    next >
Makefile  |  1995-10-08  |  1KB  |  36 lines

  1. compileargs = -O2 -fbaserel -noixemul -x none -s -m68020
  2. compileargs1 = -O2 -fbaserel -noixemul -g -m68020
  3. libs = -lamiga -lscreennotify -lretina
  4. objects = main.o drawing.o miscfuncs.o volumes.o formattext.o handler.o initclean.o idle.o
  5. addobjects = sprintf_exec.o
  6.  
  7. tinymeter : main.o drawing.o miscfuncs.o sprintf_exec.o volumes.o formattext.o initclean.o handler.o idle.o
  8.     gcc -o ram:TinyMeter $(compileargs) $(objects) $(addobjects) $(libs)
  9.  
  10. main.o : main.c includes.h globals.h structs.h
  11.     gcc -c $(compileargs) main.c
  12.  
  13. drawing.o : drawing.c includes.h structs.h
  14.     gcc -c $(compileargs) drawing.c
  15.  
  16. miscfuncs.o : miscfuncs.c includes.h structs.h
  17.     gcc -c $(compileargs) miscfuncs.c
  18.  
  19. volumes.o : volumes.c includes.h structs.h
  20.     gcc -c $(compileargs) volumes.c
  21.  
  22. formattext.o : formattext.c includes.h structs.h
  23.     gcc -c $(compileargs) formattext.c
  24.  
  25. initclean.o : initclean.c includes.h structs.h
  26.     gcc -c $(compileargs) initclean.c
  27.  
  28. handler.o : handler.c includes.h structs.h
  29.     gcc -c $(compileargs) handler.c
  30.  
  31. idle.o : idle.c
  32.     gcc -c -noixemul -m68000 idle.c
  33.  
  34. clean :
  35.     rm $(objects)
  36.